package com.gosophia.metadataEngine.entity;

import java.util.Date;

import com.gosophia.commons.persistence.SearchEnable;

/**
 * 数据源信息
 * @author mayue
 *
 */
public class DataSourceInfo {
    //id;
    private Long dataSourceInfoId;
    //版本控制
    private Long version;
    //数据源名称
    @SearchEnable
    private String name;
    //是否显示sql
    private String showSql;
    //标准sql
    private String formatSql;
    //方言
    private String dialect;
    //驱动类
    private String driverClass;
    //url
    private String url;
    //用户名
    private String username;
    //密码
    private String password;
    //备注
    @SearchEnable
    private String note;
    //创建时间
    @SearchEnable
    private Date createTime;

    public  Long getVersion() {
        return version;
    }
    public void setVersion(Long version) {
        this.version = version;
    }
    
    public String getDialect() {
        return dialect;
    }
    public void setDialect(String dialect) {
        this.dialect = dialect;
    }
    public String getUrl() {
        return url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getNote() {
        return note;
    }
    public void setNote(String note) {
        this.note = note;
    }
    public  Long getDataSourceInfoId() {
        return dataSourceInfoId;
    }
    public void setDataSourceInfoId(Long dataSourceInfoId) {
        this.dataSourceInfoId = dataSourceInfoId;
    }
    public String getShowSql() {
        return showSql;
    }
    public void setShowSql(String showSql) {
        this.showSql = showSql;
    }
    public String getFormatSql() {
        return formatSql;
    }
    public void setFormatSql(String formatSql) {
        this.formatSql = formatSql;
    }
    public String getDriverClass() {
        return driverClass;
    }
    public void setDriverClass(String driverClass) {
        this.driverClass = driverClass;
    }
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
